GrapeCity.Xaml.CalcEngine
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcNpvFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 2 - 255 items: rate, [value1], [value2], ..

Rate is the rate of discount over the length of one period.

Value1, value2, ... are 1 to 254 arguments representing the payments and income.

Returns the System.Double net present value of a series of cash flows (in and out).
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As Object _
) As Object
'Usage
 
Dim instance As CalcNpvFunction
Dim args() As Object
Dim value As Object
 
value = instance.Evaluate(args)
public override object Evaluate( 
   object[] args
)

Parameters

args

The args contains 2 - 255 items: rate, [value1], [value2], ..

Rate is the rate of discount over the length of one period.

Value1, value2, ... are 1 to 254 arguments representing the payments and income.

Return Value

A System.Double value that indicates the evaluate result.
See Also

Reference

CalcNpvFunction Class
CalcNpvFunction Members
Overload List